package com.ddm.service.vxService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ddm.dto.page.PageQueryDTO;
import com.ddm.entity.vxEntity.Announcement;
import com.ddm.entity.vxEntity.Exam;
import com.ddm.enumeration.AnnouncementType;
import com.ddm.result.PageResult;

public interface AnnouncementService  extends IService<Announcement> {
    PageResult getAnnouncementList(PageQueryDTO pageQueryDTO);
    
    // 根据公告类型分页查询
    PageResult getAnnouncementListByType(PageQueryDTO pageQueryDTO, AnnouncementType type);
}
